package com.redlight.service;


import com.redlight.base.BaseService;
import com.redlight.bean.Employee;
import org.springframework.stereotype.Service;

/**
 * Created by chao on 2019/1/11.
 */
@Service
public class EmployeeService extends BaseService<Employee> {
     public void save1(Employee employee){
         this.save(employee);
         if (true) {
             throw new RuntimeException("save 抛异常了");
         }
     }
}
